package lab02.Test06;

/**
 * Created by lenovo on 2017/10/15.
 */
public class Circle {
    final double PI = 3.141592;
    double radius;

    Circle() {}

    Circle(double radius) {
        this.radius = radius;
    }

    public double area() {
        return (PI * radius * radius);
    }

    public double girth() {
        return (2 * PI * radius);
    }
}
